package com.smartcampusbackend.model;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.time.LocalDateTime;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;

@Data
@TableName("title_application")
public class TitleApplication {
    @TableId
    @JsonSerialize(using = ToStringSerializer.class)
    private Integer id;
    @JsonSerialize(using = ToStringSerializer.class)
    private Integer teacherId;
    private String name;
    private String gender;
    private String currentTitle;
    private String applyTitle;
    private String department;
    private String position;
    private String attachment;
    private String status;
    private String reason;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
} 